1
general::
Also, take the trouble;go to the bother or the expense. Make the effort or spend the money for something. For example, He went to the trouble of calling every single participant, or She took the trouble to iron all the clothes, or Don't go to the bother of writing them, or They went to the expense of hiring a limousine. [Second half of 1800s] Also see PUT ONESELF OUT.
American Heritage Idioms
2
general::
Phrase(s): go to the trouble (of doing something) [and] Go to the trouble (to do something); Go to the bother (of doing something); Go to the bother (to do something)
to endure the effort or bother of doing something. • I really don’t want to go to the trouble to cook. • Should I go to the bother of cooking something for her to eat? • Don’t go to the trouble. She can eat a sandwich.
McGrawhill's American Idioms And Phrasal Verbs